<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
</head>
<body>
  
</body>

<script type="module">
  import {getUser, getGoods, getAppraise} from './common.js'

  async function ready() {
    let id, res
    res = await getUser()
    id = res.data[0].id

    res = await getGoods(id)
    id = res.data[0].id

    res = await getAppraise(id)
    console.log('end');
  }

  ready()
</script>
</html>